/*
 * Flowable REST API
 * # flowable / flowəb(ə)l /    - a compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.  - a lightning fast, tried and tested BPMN 2 process engine written in Java. It is Apache 2.0 licensed open source, with a committed community.  - can run embedded in a Java application, or as a service on a server, a cluster, and in the cloud. It integrates perfectly with Spring. With a rich Java and REST API, it is the ideal engine for orchestrating human or system activities.
 *
 * OpenAPI spec version: v1
 *
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */


package com.ibm.risk.irmp.workflow.client.flowable.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.time.OffsetDateTime;

/**
 * HistoricTaskLogEntryResponse
 */

public class HistoricTaskLogEntryResponse {
  @JsonProperty("logNumber")
  private Long logNumber = null;

  @JsonProperty("type")
  private String type = null;

  @JsonProperty("taskId")
  private String taskId = null;

  @JsonProperty("timeStamp")
  private OffsetDateTime timeStamp = null;

  @JsonProperty("userId")
  private String userId = null;

  @JsonProperty("data")
  private String data = null;

  @JsonProperty("executionId")
  private String executionId = null;

  @JsonProperty("processInstanceId")
  private String processInstanceId = null;

  @JsonProperty("processDefinitionId")
  private String processDefinitionId = null;

  @JsonProperty("scopeId")
  private String scopeId = null;

  @JsonProperty("scopeDefinitionId")
  private String scopeDefinitionId = null;

  @JsonProperty("subScopeId")
  private String subScopeId = null;

  @JsonProperty("scopeType")
  private String scopeType = null;

  @JsonProperty("tenantId")
  private String tenantId = null;

  public HistoricTaskLogEntryResponse logNumber(Long logNumber) {
    this.logNumber = logNumber;
    return this;
  }

   /**
   * Get logNumber
   * @return logNumber
  **/
  @ApiModelProperty(value = "")
  public Long getLogNumber() {
    return logNumber;
  }

  public void setLogNumber(Long logNumber) {
    this.logNumber = logNumber;
  }

  public HistoricTaskLogEntryResponse type(String type) {
    this.type = type;
    return this;
  }

   /**
   * Get type
   * @return type
  **/
  @ApiModelProperty(value = "")
  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public HistoricTaskLogEntryResponse taskId(String taskId) {
    this.taskId = taskId;
    return this;
  }

   /**
   * Get taskId
   * @return taskId
  **/
  @ApiModelProperty(value = "")
  public String getTaskId() {
    return taskId;
  }

  public void setTaskId(String taskId) {
    this.taskId = taskId;
  }

  public HistoricTaskLogEntryResponse timeStamp(OffsetDateTime timeStamp) {
    this.timeStamp = timeStamp;
    return this;
  }

   /**
   * Get timeStamp
   * @return timeStamp
  **/
  @ApiModelProperty(value = "")
  public OffsetDateTime getTimeStamp() {
    return timeStamp;
  }

  public void setTimeStamp(OffsetDateTime timeStamp) {
    this.timeStamp = timeStamp;
  }

  public HistoricTaskLogEntryResponse userId(String userId) {
    this.userId = userId;
    return this;
  }

   /**
   * Get userId
   * @return userId
  **/
  @ApiModelProperty(value = "")
  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  public HistoricTaskLogEntryResponse data(String data) {
    this.data = data;
    return this;
  }

   /**
   * Get data
   * @return data
  **/
  @ApiModelProperty(value = "")
  public String getData() {
    return data;
  }

  public void setData(String data) {
    this.data = data;
  }

  public HistoricTaskLogEntryResponse executionId(String executionId) {
    this.executionId = executionId;
    return this;
  }

   /**
   * Get executionId
   * @return executionId
  **/
  @ApiModelProperty(value = "")
  public String getExecutionId() {
    return executionId;
  }

  public void setExecutionId(String executionId) {
    this.executionId = executionId;
  }

  public HistoricTaskLogEntryResponse processInstanceId(String processInstanceId) {
    this.processInstanceId = processInstanceId;
    return this;
  }

   /**
   * Get processInstanceId
   * @return processInstanceId
  **/
  @ApiModelProperty(value = "")
  public String getProcessInstanceId() {
    return processInstanceId;
  }

  public void setProcessInstanceId(String processInstanceId) {
    this.processInstanceId = processInstanceId;
  }

  public HistoricTaskLogEntryResponse processDefinitionId(String processDefinitionId) {
    this.processDefinitionId = processDefinitionId;
    return this;
  }

   /**
   * Get processDefinitionId
   * @return processDefinitionId
  **/
  @ApiModelProperty(value = "")
  public String getProcessDefinitionId() {
    return processDefinitionId;
  }

  public void setProcessDefinitionId(String processDefinitionId) {
    this.processDefinitionId = processDefinitionId;
  }

  public HistoricTaskLogEntryResponse scopeId(String scopeId) {
    this.scopeId = scopeId;
    return this;
  }

   /**
   * Get scopeId
   * @return scopeId
  **/
  @ApiModelProperty(value = "")
  public String getScopeId() {
    return scopeId;
  }

  public void setScopeId(String scopeId) {
    this.scopeId = scopeId;
  }

  public HistoricTaskLogEntryResponse scopeDefinitionId(String scopeDefinitionId) {
    this.scopeDefinitionId = scopeDefinitionId;
    return this;
  }

   /**
   * Get scopeDefinitionId
   * @return scopeDefinitionId
  **/
  @ApiModelProperty(value = "")
  public String getScopeDefinitionId() {
    return scopeDefinitionId;
  }

  public void setScopeDefinitionId(String scopeDefinitionId) {
    this.scopeDefinitionId = scopeDefinitionId;
  }

  public HistoricTaskLogEntryResponse subScopeId(String subScopeId) {
    this.subScopeId = subScopeId;
    return this;
  }

   /**
   * Get subScopeId
   * @return subScopeId
  **/
  @ApiModelProperty(value = "")
  public String getSubScopeId() {
    return subScopeId;
  }

  public void setSubScopeId(String subScopeId) {
    this.subScopeId = subScopeId;
  }

  public HistoricTaskLogEntryResponse scopeType(String scopeType) {
    this.scopeType = scopeType;
    return this;
  }

   /**
   * Get scopeType
   * @return scopeType
  **/
  @ApiModelProperty(value = "")
  public String getScopeType() {
    return scopeType;
  }

  public void setScopeType(String scopeType) {
    this.scopeType = scopeType;
  }

  public HistoricTaskLogEntryResponse tenantId(String tenantId) {
    this.tenantId = tenantId;
    return this;
  }

   /**
   * Get tenantId
   * @return tenantId
  **/
  @ApiModelProperty(value = "")
  public String getTenantId() {
    return tenantId;
  }

  public void setTenantId(String tenantId) {
    this.tenantId = tenantId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    HistoricTaskLogEntryResponse historicTaskLogEntryResponse = (HistoricTaskLogEntryResponse) o;
    return Objects.equals(this.logNumber, historicTaskLogEntryResponse.logNumber) &&
        Objects.equals(this.type, historicTaskLogEntryResponse.type) &&
        Objects.equals(this.taskId, historicTaskLogEntryResponse.taskId) &&
        Objects.equals(this.timeStamp, historicTaskLogEntryResponse.timeStamp) &&
        Objects.equals(this.userId, historicTaskLogEntryResponse.userId) &&
        Objects.equals(this.data, historicTaskLogEntryResponse.data) &&
        Objects.equals(this.executionId, historicTaskLogEntryResponse.executionId) &&
        Objects.equals(this.processInstanceId, historicTaskLogEntryResponse.processInstanceId) &&
        Objects.equals(this.processDefinitionId, historicTaskLogEntryResponse.processDefinitionId) &&
        Objects.equals(this.scopeId, historicTaskLogEntryResponse.scopeId) &&
        Objects.equals(this.scopeDefinitionId, historicTaskLogEntryResponse.scopeDefinitionId) &&
        Objects.equals(this.subScopeId, historicTaskLogEntryResponse.subScopeId) &&
        Objects.equals(this.scopeType, historicTaskLogEntryResponse.scopeType) &&
        Objects.equals(this.tenantId, historicTaskLogEntryResponse.tenantId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(logNumber, type, taskId, timeStamp, userId, data, executionId, processInstanceId, processDefinitionId, scopeId, scopeDefinitionId, subScopeId, scopeType, tenantId);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class HistoricTaskLogEntryResponse {\n");

    sb.append("    logNumber: ").append(toIndentedString(logNumber)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).append("\n");
    sb.append("    taskId: ").append(toIndentedString(taskId)).append("\n");
    sb.append("    timeStamp: ").append(toIndentedString(timeStamp)).append("\n");
    sb.append("    userId: ").append(toIndentedString(userId)).append("\n");
    sb.append("    data: ").append(toIndentedString(data)).append("\n");
    sb.append("    executionId: ").append(toIndentedString(executionId)).append("\n");
    sb.append("    processInstanceId: ").append(toIndentedString(processInstanceId)).append("\n");
    sb.append("    processDefinitionId: ").append(toIndentedString(processDefinitionId)).append("\n");
    sb.append("    scopeId: ").append(toIndentedString(scopeId)).append("\n");
    sb.append("    scopeDefinitionId: ").append(toIndentedString(scopeDefinitionId)).append("\n");
    sb.append("    subScopeId: ").append(toIndentedString(subScopeId)).append("\n");
    sb.append("    scopeType: ").append(toIndentedString(scopeType)).append("\n");
    sb.append("    tenantId: ").append(toIndentedString(tenantId)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}
